const path = require('path');
const HtmlWebpackPlugin = require('html-webpack-plugin');

module.exports = {
  mode: 'development',
  plugins: [
    new HtmlWebpackPlugin({
      title: 'Output Management',
      template: path.join(__dirname, './src/index.html'),
      filename: 'index.html'
    })
  ],
  resolve: {
    alias: {
      '@': path.join(__dirname, './src')
    }
  }
}